package com.stgy.lease.web.api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.stgy.lease.model.domain.GraphInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author lingx
* @description 针对表【graph_info(图片信息表)】的数据库操作Mapper
* @createDate 2024-08-28 11:00:29
* @Entity com.stgy.lease.model.domain.GraphInfo
*/
@Mapper
public interface GraphInfoMapper extends BaseMapper<GraphInfo> {

    List<GraphInfo> selectByRoomId(Long roomId);

    List<GraphInfo> selectByApartmentId(Long apartmentId);

    List<GraphInfo> selectByAgreementRoomId(Long roomId);

    List<GraphInfo> selectRoomByApartmentId(Long apartmentId);

}




